package StudyCode.summary.mydatetime;

import java.util.Date;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class UsingDate {
	public static void main(String[] args) {
		Date currentDate = new Date();
		System.out.println("当前 date: " + currentDate);
		long millis = currentDate.getTime();
		System.out.println("当前时间(单位:毫秒): " + millis);
	}

}
